package Data;

public class Teacher {
    private String id, name, sex, zhicheng;
    private int salary;

    public Teacher() {
    }

    public Teacher(String id, String name, String sex, String zhicheng, int salary) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.zhicheng = zhicheng;
        this.salary = salary;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getZhicheng() {
        return zhicheng;
    }

    public void setZhicheng(String zhicheng) {
        this.zhicheng = zhicheng;
    }

    public int getSalary() {
        return salary;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", zhicheng='" + zhicheng + '\'' +
                ", salary=" + salary +
                '}';
    }
}
